#! /bin/sh
. ./common.sh

# https://github.com/gpakosz/.tmux

if ! command -v tmux >/dev/null 2>&1; then
    info "not installed tmux, will install it now!"
    si tmux
fi

info "install oh-my-tmux"
# git clone https://github.com/gpakosz/.tmux.git
rm -rf ~/.tmux ~/.tmux.conf .tmux.conf.local
git clone https://gitee.com/lgf1244/tmux.git ~/.tmux
ln -s -f ~/.tmux/.tmux.conf ~/.tmux.conf
cp ~/.tmux/.tmux.conf.local ~